package com.goldze.mvvmhabit.bean;

public class NewsDetailBean {
    /**
     * success : true
     * message : success
     * code : 200
     * timestamp : 1618898139804
     * result : {"id":"1349561843156389888","createBy":"admin","createTime":"2021-01-14 11:39:51","updateBy":"admin","updateTime":"2021-04-20 10:50:10","delFlag":0,"title":"第三次全国人民代表大会","content":"1月13日0\u201424时，31个省（自治区、直辖市）和新疆生产建设兵团报告新增确诊病例138例，其中境外输入病例14例（上海8例，广东3例，北京1例，河南1例，广西1例），本土病例124例（河北81例，黑龙江43例）；新增死亡病例1例，为本土病例（在河北）；无新增疑似病例。\n","pic":"http://39.108.37.108:8887/xboot/upload/view?filePath=/server/healthUpload/20210420/8a5992e4adf1496293b53d672989cee9..jpg"}
     */

    private boolean success;
    private String message;
    private int code;
    private long timestamp;
    private ResultBean result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1349561843156389888
         * createBy : admin
         * createTime : 2021-01-14 11:39:51
         * updateBy : admin
         * updateTime : 2021-04-20 10:50:10
         * delFlag : 0
         * title : 第三次全国人民代表大会
         * content : 1月13日0—24时，31个省（自治区、直辖市）和新疆生产建设兵团报告新增确诊病例138例，其中境外输入病例14例（上海8例，广东3例，北京1例，河南1例，广西1例），本土病例124例（河北81例，黑龙江43例）；新增死亡病例1例，为本土病例（在河北）；无新增疑似病例。
         * pic : http://39.108.37.108:8887/xboot/upload/view?filePath=/server/healthUpload/20210420/8a5992e4adf1496293b53d672989cee9..jpg
         */

        private String id;
        private String createBy;
        private String createTime;
        private String updateBy;
        private String updateTime;
        private int delFlag;
        private String title;
        private String content;
        private String pic;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }
    }
}
